<#import "/freemarker/modeltype.ftl" as mt>

<table class="table table-bordered animate2 fadeInUp">
	<tr>
		<th>创建时间</th>
		<th>创建机构</th>
		<th>领用人</th>
		<th>领用详情（名称 数量 价格 所属类别）</th>
		<th>操作</th>
	</tr>
	<#list pageBean.resultList as con>
	<tr class="ui-widget-content">
		<td>${con.ct?string('yyyy-MM-dd')}</td>
		<td>${con.on}</td>
		<td>${(con.cname)!''}</td>
		<td><#if con.itemList??>
		<#list con.itemList as item>
		<span>${(item.gn)!''}(<font style="color:green;">${(item.count)!''}</font> / ￥ <font style="color:orange;">${(item.price)!'0.0'}</font>)
			<#if item.sort == 1>消耗品<#else>固定资产</#if>
		</span><br/></#list></#if></td>
		<td><a href="javascript:;" onclick="javascript:showTag_consuming('${con.code}');return false;" data-toggle="tooltip" class="btn btn-xs btn-success"><i class="icon-book"></i></a></td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_consuming'/>
